package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 二级单位对象 oa_secondary_unit
 *
 * @author ruoyi
 * @date 2025-04-01
 */
public class OaSecondaryUnit
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String secondaryUnitName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long industryId;
    //项目编号
    private String number;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setSecondaryUnitName(String secondaryUnitName)
    {
        this.secondaryUnitName = secondaryUnitName;
    }

    public String getSecondaryUnitName()
    {
        return secondaryUnitName;
    }

    public void setIndustryId(Long industryId)
    {
        this.industryId = industryId;
    }

    public Long getIndustryId()
    {
        return industryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("secondaryUnitName", getSecondaryUnitName())
            .append("industryId", getIndustryId())
            .toString();
    }
}
